<script type="text/javascript">
<!--
	  $(document).ready(function() {
	  //	alert('asd');
	      $('#fileData').dataTable( {
					"aLengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],
					"sPaginationType": "full_numbers",	
                    "aaSorting": [[ 0, "asc" ]],
                    "iDisplayLength": 25,
					"bJQueryUI": true,
					"sDom": '<"H"frlT><"clear">t<"clear"><"F"ip>',
					'bProcessing'    : true,
					'bServerSide'    : true,
					'sAjaxSource'    : '<?php echo site_url(); ?>/admin/diagnosis/supplier',
					'fnServerData': function(sSource, aoData, fnCallback)
					{
					  $.ajax
					  ({
						'dataType': 'json',
						'type'    : 'POST',
						'url'     : sSource,
						'data'    : aoData,
						'success' : fnCallback
					  });
					},	
						
					"oTableTools": {
						
						"aButtons": [
								// "copy",
								"csv",
								"xls",
								{
									"sExtends": "pdf",
									"sPdfOrientation": "landscape",
									"sPdfMessage": ""
								},
								"print"
						]
					},
					"oLanguage": {
					  "sSearch": "Filter: "
					},
					"aoColumns": [ 
					   null,null,null,null,null,null,
					  { "bSortable": false }
					]
					
                } );
	  })
//-->
</script>
<div class="header">
 <h1 class="page-title">Other</h1>
  </div>
 <ul class="breadcrumb">
 	
 <li class="active">View Supplier</li>
       </ul>
	 
<p align="right"><i class="icon-edit"><a align="right"href="<?php echo site_url('/admin/diagnosis/create_supplier');?>">New Supplier</a></i></p>
<div class="row-fluid">
<div class="span12 pad_all">
<table id="fileData" cellpadding=0 cellspacing=6 width="100%" class="table table-bordered dataTables_wrapper">
<caption> <h3>List Of Supplier</h3></caption>
<thead>

<tr>

<th>ID</th>
<th> Name</th>
<th>Email</th>
<th>Mobile</th>
<th>Landline</th>
<th>Address</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
 <td colspan="7" class="dataTables_empty">Loading data from server</td></tr>
</tbody>
</table>
</div>
</div>